package gadgetwars.client;

import gadgetwars.shared.DiggNews;
import gadgetwars.shared.AmazonData;
import gadgetwars.shared.YahooImage;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface GadgetWarsServiceAsync{
	void getDiggNews(String gadget, String sortOrder,int gadgetIndex, AsyncCallback<DiggNews[]> callback)
	throws IllegalArgumentException;
	
	void getAmazonData(String gameName, int gadgetIndex, AsyncCallback<AmazonData> amazonData)
	throws IllegalArgumentException;
	
	void getYahooImage(String gameName, int gadgetIndex, AsyncCallback<YahooImage> yahooImage)
	throws IllegalArgumentException;
	
	void insertInitialData(AsyncCallback<Boolean> callback)
	throws IllegalArgumentException;
	
	void getGadgetNames(AsyncCallback<String[]> gadgetNames)
	throws IllegalArgumentException;

}

